package com.yyyyglxt.common.task;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.simp.SimpMessagingTemplate;
import org.springframework.stereotype.Component;


@Component
public class WelcomeJob implements Job{
    //取消注入  qichao
//	@Autowired
//	SimpMessagingTemplate template;

    @Override
    public void execute(JobExecutionContext arg0) throws JobExecutionException {
        /***** 注释一行,去除oa模块  qichao  2022/05/02  BEGIN *****/
//    	template.convertAndSend("/topic/getResponse", new Response("这是一个任务计划，使用了websocket和quzrtz技术，可以在计划列表中取消" ));
        /***** 注释一行,去除oa模块  qichao  2022/05/02  END *****/

    }

}